package xyz.csmcool.imuser.entity.vo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 什锦
 * @Package xyz.csmcool.imuser.entity.vo
 * @since 2022/7/31 16:17
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserLoginVo {
    @NotBlank(message = "密码不能为空")
    private String password;
    @Email(message = "请输入正确的邮箱格式")
    @NotNull(message = "邮箱不能为空")
    private String email;


    private Integer verifyCode;
}
